From cfd72f5cd62e23ca4df0d4d339d84ff928182acd Mon Sep 17 00:00:00 2001 From: Michael David Emmel Date: Thu, 30 Mar 2006 16:14:18 +0000 Subject: [PATCH] Added gdk_pixmap_foreign_new_for_screen --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ gdk/directfb/gdkpixmap-directfb.c | 12 ++++++++++++ 3 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index eed8ef45af..0849a1c654 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-03-30 Michael Emmel + + * gdk/directfb/gdkpixmap-directfb.c implement + (gdk_pixmap_foreign_new_for_screen) + 2006-03-30 Emmanuele Bassi Add documentation for the GtkLinkButton (#336592) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index eed8ef45af..0849a1c654 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-03-30 Michael Emmel + + * gdk/directfb/gdkpixmap-directfb.c implement + (gdk_pixmap_foreign_new_for_screen) + 2006-03-30 Emmanuele Bassi Add documentation for the GtkLinkButton (#336592) diff --git a/gdk/directfb/gdkpixmap-directfb.c b/gdk/directfb/gdkpixmap-directfb.c index 6ddc6a292e..0525a81a54 100644 --- a/gdk/directfb/gdkpixmap-directfb.c +++ b/gdk/directfb/gdkpixmap-directfb.c @@ -313,6 +313,18 @@ gdk_pixmap_foreign_new_for_display (GdkDisplay *display, GdkNativeWindow anid) return gdk_pixmap_foreign_new(anid); } +GdkPixmap* +gdk_pixmap_foreign_new_for_screen (GdkScreen *screen, + GdkNativeWindow anid, + gint width, + gint height, + gint depth) +{ + /*Use the root drawable for now since only one screen */ + return gdk_pixmap_new(NULL,width,height,depth); +} + + GdkPixmap* gdk_pixmap_lookup (GdkNativeWindow anid) { -- 2.30.2